home *** CD-ROM | disk | FTP | other *** search
- /* automtic assembling of Pic source code with CygnusEd
- */
-
-
-
-
-
-
- PARSE SOURCE com res called resolved ext host . /* Get host */
- IF host="REXX" THEN /* From command line */
- ADDRESS "rexx_ced" /* Talk to default ced */
-
-
- OPTIONS RESULTS /* Enable results from commands */
- ARG windowType . /* How to show? */
-
-
- ADDRESS COMMAND "relabel ram: Ram_Disk"
-
-
- 'DM "assembling source..."'
-
- 'Status NUMCHANGES' /* Get number of changes made to file */
- IF RESULT~=0 THEN /* Changes were made */
- 'Save' /* Save current file */
-
-
- 'Status FILENAME' /* Fet file name (with path) */
- FileName=RESULT
-
- Comm="c:PICAsm" FileName /* Set up command string */
- /* Change status bar again */
- ADDRESS COMMAND Comm /* do the command */
- 'CEdToFront' /* Jump back to CEd's screen */
-
-
-
- 'DM' /* Restore status line */
-
-
-
- EXIT
-